package DBLayer;
import ModelLayer.*;
import java.util.ArrayList;
/**
 *
 * @author gartner
 */
public interface IFDBSupplier 
{
    public ArrayList<Supplier> getAllSuppliers(boolean retriveAssociation);
    
    public Supplier searchSupplierID(int supplierID, boolean retriveAssociation);
    
    public Supplier findSupplier(int supplierID, boolean retriveAssociation);
    
    public Supplier searchSupplierName(String name, boolean retriveAssociation);
    
    public void insertSupplier(Supplier supplier);
    
    public void updateSupplier(Supplier supplier);
    
    public void deleteSupplier(int supplierID);
    
    public int MaxID();
}
